package com.miniot.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 二级类型表
*
* @author zzq
* @date 2023-10-17 11:16:07
*/
@Data
//@Builder
@TableName("type_two")
@ApiModel(description = "二级类型表")
@NoArgsConstructor
@AllArgsConstructor
public class TypeTwo extends BaseEntity<Long> {
    private static final long serialVersionUID = 1L;
    /** 二级类型名称 */
    @ApiModelProperty(value = "二级类型名称")
    private String typeTwoName;
    /** 二级类型编码 */
    @ApiModelProperty(value = "二级类型编码")
    private String typeTwoCode;
    /** 关联一级类型id */
    @ApiModelProperty(value = "关联一级类型id")
    private Long typeOneId;
    /** 二级类型名称 */
    @ApiModelProperty(value = "一级类型名称")
    private String typeOneName;

}
